Moderate: vim security update

Related Vulnerabilities: CVE-2021-3872   CVE-2021-3984   CVE-2021-4019   CVE-2021-4192   CVE-2021-4193  

Synopsis

Moderate: vim security update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for vim is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

  • vim: heap-based buffer overflow in win_redr_status() in drawscreen.c (CVE-2021-3872)
  • vim: illegal memory access in find_start_brace() in cindent.c when C-indenting (CVE-2021-3984)
  • vim: heap-based buffer overflow in find_help_tags() in help.c (CVE-2021-4019)
  • vim: use-after-free in win_linetabsize() (CVE-2021-4192)
  • vim: out-of-bound read in getvcol() (CVE-2021-4193)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux for x86_64 8 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 8 s390x
  • Red Hat Enterprise Linux for Power, little endian 8 ppc64le
  • Red Hat Enterprise Linux for ARM 64 8 aarch64

Fixes

  • BZ - 2016056 - CVE-2021-3872 vim: heap-based buffer overflow in win_redr_status() in drawscreen.c
  • BZ - 2028122 - CVE-2021-3984 vim: illegal memory access in find_start_brace() in cindent.c when C-indenting
  • BZ - 2028212 - CVE-2021-4019 vim: heap-based buffer overflow in find_help_tags() in help.c
  • BZ - 2039685 - CVE-2021-4192 vim: use-after-free in win_linetabsize()
  • BZ - 2039687 - CVE-2021-4193 vim: out-of-bound read in getvcol()